# -*- coding: utf-8 -*-
'''
Script para graficos

@author Diogo Fialho - 5158
@author Samuel Gonçalves - 5312
'''

import matplotlib.pyplot as plt
import numpy as np

def getGrafico(lista):
    mu, sigma = 100, 15
    x = mu + sigma*np.random.randn(10000)
    n,bins,patches = plt.hist(x,50,normed=1,facecolor='g',alpha=0.75)
    plt.xlabel('Instituto')
    plt.ylabel('Colocados')
    #plt.title('Histogram of IQ')
    #plt.text(60,.025,r'$\mu=100,\ \sigma=15$')
    plt.axis([0,100,0,0.03])
    plt.grid(True)
    plt.show()

